import React from 'react';
import './App.css';
import {Routes, Route} from 'react-router-dom'
import Home from './components/home';
import About from './components/about';
import My from './components/my';

function App() {
  return (
    <div>
      <Routes>
        <Route path='/' element={<Home />}></Route>
        <Route path='/about' element={<About />}></Route>
        <Route path='/my/:id' element={<My />}></Route>
      </Routes>
    </div>
  );
}

export default App;
